package com.empire.module.member.controller.admin.warningindividual.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 非聚集预警记录表（1条记录对应1个人的1次预警） Response VO")
@Data
@ExcelIgnoreUnannotated
public class WarningIndividualRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "14478")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "人员ID（关联person.id）", requiredMode = Schema.RequiredMode.REQUIRED, example = "29708")
    @ExcelProperty("人员ID（关联person.id）")
    private Long personId;

    @Schema(description = "参与人员身证件号码", requiredMode = Schema.RequiredMode.REQUIRED, example = "3769")
    @ExcelProperty("参与人员证件号码")
    private String idNumber;

    @Schema(description = "人员姓名（关联person.id）", requiredMode = Schema.RequiredMode.REQUIRED, example = "29708")
    @ExcelProperty("人员ID（关联person.id）")
    private String personName;

    @Schema(description = "预警条件ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "18947")
    @ExcelProperty("预警条件ID")
    private Long warningConditionId;

    @Schema(description = "预警时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("预警时间")
    private LocalDateTime warningTime;

    @Schema(description = "预警内容", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("预警内容")
    private String warningContent;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "围栏类型：1-禁入，2-禁出", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("围栏类型")
    private Integer fenceType;

    @Schema(description = "经度（范围：-180~180）", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("经度")
    private Double lng;

    @Schema(description = "纬度（范围：-90~90）", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("纬度")
    private Double lat;

    @Schema(description = "阅读标记：0-未读，1-已读", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer isRead;
}